home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Cream of the Crop 20
/
Cream of the Crop 20 (Terry Blount) (1996).iso
/
sound
/
airraid.zip
/
AIR-RAID.PAS
< prev
Wrap
Pascal/Delphi Source File
|
1996-05-29
|
968b
|
62 lines
program AirRaid;
{$N-,E-,Q-,S-,R-,I-,O-,F-,P+,T-,X-,V-,B-,A+,G-,D-,L-,Y-}
{$M 1024,0,0}
(* compiled in Borland Turbo Pascal 7.0 for DOS *)
uses crt;
var
Varies : integer;
Dummy : char;
begin
textcolor(0);
textbackground(0);
clrscr;
gotoxy(1,4);
textcolor(14);
writeln(' Oh, God ....not again! And me in the middle of dessert.....');
writeln;
textcolor(15);
write(' (');
textcolor(7);
write('if you press a key, it''ll stop at the next low cycle.');
textcolor(15);
writeln(')');
Varies := 0;
while Varies <= 419 do
begin
sound(Varies);
delay(20);
Varies := Varies + 1;
end;
repeat
while Varies <= 670 do
begin
sound(Varies);
delay(20);
Varies := Varies + 1;
end;
while Varies >= 419 do
begin
sound(Varies);
delay(20);
Varies := Varies -1;
end;
until keypressed;
repeat
sound(Varies);
delay(20);
Varies := Varies - 1;
until Varies = 0;
nosound;
Dummy := readkey;
textcolor(7);
clrscr;
writeln
end.